package com.wish.g04.base.mapper;

import com.wish.g04.base.entity.EsSyncTime;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;

import java.util.HashMap;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 薛凯
 * @since 2022-05-23
 */
public interface EsSyncTimeMapper extends BaseMapper<EsSyncTime> {

    /**
     * 修改时间
     * @param map
     */
    @Update("update es_sync_time SET sync_time = #{newDate}")
    void updateEsSyncTimeAll(HashMap<String, Object> map);
}
